package com.homegoods.discover.item;

import com.homegoods.discover.R;
import com.homegoods.discover.model.LogisticsModel;
import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseItem;

/**
 * @author QiQi
 * @ClassName: LogisticsItem
 * @date 2018/10/3
 * @description 物流信息
 */
public class LogisticsItem extends BaseItem<LogisticsModel> {
    public LogisticsItem(LogisticsModel data, MultiTypeAdapter adapter) {
        super(data);
        setOnClickListener(v -> {

        });
    }

    public String getLogisticsStatus() {
        return getData().getLogisticsStatus();
    }

    public String getImageUrl() {
        return getData().getImageUrl();
    }

    public String getTitle() {
        return getData().getTitle();
    }

    public String getInfo() {
        return getData().getInfo();
    }

    public String getDate() {
        return getData().getDate();
    }

    @Override
    public int getLayout() {
        return R.layout.discover_item_logistics;
    }
}
